package com.hc.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.hc.domain.ProjTech;
import com.hc.mapper.ProjTechMapper;
import com.hc.service.ProjTechService;

import java.util.List;

/**
 * @author: hecai
 * @date: 2021/11/9 11:17
 * @description: 
 */
@Service
public class ProjTechServiceImpl implements ProjTechService{

    @Resource
    private ProjTechMapper projTechMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return projTechMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ProjTech record) {
        return projTechMapper.insert(record);
    }

    @Override
    public int insertSelective(ProjTech record) {
        return projTechMapper.insertSelective(record);
    }

    @Override
    public ProjTech selectByPrimaryKey(Long id) {
        return projTechMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ProjTech record) {
        return projTechMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProjTech record) {
        return projTechMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Long> selectIdByPid(Long id) {
        return projTechMapper.selectIdByPid(id);
    }

    @Override
    public List<Integer> selectTidByPrimaryKey(Long id) {
       return projTechMapper.selectTidByPrimaryKey(id);
    }
}
